GXGetGraphicsNotice
You can use theGXGetGraphicsNotice
function to obtain the first and last notices posted.
gxGraphicsNotice GXGetGraphicsNotice (gxGraphicsNotice *stickyNotice);
stickyNotice
- On return, a pointer to the first notice posted.
- function result
- The last notice posted.
DESCRIPTION
TheGXGetGraphicsNotice
function returns the last notice posted, or 0 if none. ThestickyNotice
parameter, if notnil
, receives the first notice posted since the last call to theGXGetGraphicsNotice
function.SPECIAL CONSIDERATIONS
QuickDraw GX clears thestickyNotice
argument at the end of every call to theGXGetGraphicsNotice
function. It always returns 0 on non-debugging versions.SEE ALSO
The use of this function is described in the section"Obtaining Errors, Warnings, and Notices" beginning on page 3-30.An alternative method of posting notices is to include an application-defined notice handler. This topic is described in the section "Changing the Error, Warning, or Notice Posted" beginning on page 3-34.
The
GXSetUserGraphicsNotice
function that is used to install the notice handler is described on page 3-66.